﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PalFramework.Battle;
using PalFramework.Object;
using PalBattleEmulator.Object;
using PalBattleEmulator.Object.Unit;


namespace PalBattleEmulator.Battle
{
    public class GameBattle : IBattle
    {
        private ITeam characterTeam;

        public ITeam CharacterTeam
        {
            get { return characterTeam; }
            set { characterTeam = value; }
        }
        private ITeam enemyTeam;

        public ITeam EnemyTeam
        {
            get { return enemyTeam; }
            set { enemyTeam = value; }
        }
        private IBattleField battleField;

        public IBattleField BattleField
        {
            get { return battleField; }
            set { battleField = value; }
        }

        private BattleState state = BattleState.Begin;

        public BattleState State
        {
            get { return state; }
            set { state = value; }
        }
    }

    public enum BattleState
    {
        Begin = 0,          //战斗开始
        NewRound = 1,       //新一回合
        UserPaused = 2,     //暂停操作
        Playing = 3,        //播放动作
    }
}
